System and method for selective control of zoom adjustments in an electronic publication

ABSTRACT

A system and method for selective control of zoom adjustments in an electronic publication is disclosed. The method may include generating content for display on an electronic reading device; generating at least one style for the content, and storing the content and the at least one style on a computer readable medium. The generation of at least one style may include identifying at least a portion of the content for which at least one zoom level will be specified; specifying a base text size for the portion of the content; and specifying a first value to increment the base text size to a first zoom state text size. A method for rendering an electronic document on an electronic device may include storing content representing an electronic publication in a computer memory of the electronic device, the content including at least one style for a portion of the content, the at least one style including a base text size for the portion of the content and at least a first value to increment the base text size to a first zoom state text size; rendering the contents according to the at least one style; and incrementing the base text size for the portion of the content by the first value in response to a user input to zoom.

BACKGROUND INFORMATION

One of the benefits of using reflowable text (e.g., text thatautomatically wraps words to the next line as the user changes windowsize and thereby relocates the right margin of the page) in electronicpublications is that display properties can be changed to suit a user'spreferences. A common use of this control is to change the size of textwhen rendering the electronic publication. As the size of the textincreases, words can be “forced” from the right margin to the next line.

Many electronic book (“eBook”) applications limit the number of textsizes that a user may select to a fixed number (for instance, small,medium and large), although the actual number of potential text sizesmay be much greater. This is because allowing users such control overthe display of content causes a dilemma for those tasked with designingcontent—such as content creators and content editors—to be rendered.While certain areas of content may have no issues being viewed inmultiple sizes, other areas of the same content may not be as simple tochange. For example, an electronic newspaper may have a complex layoutto the front page. While full article pages can easily be zoomed, acomplex front page with multiple stories in small boxes may becomeentirely unreadable when text size is changed.

For such complex layouts, prior efforts have taken two approaches. Thefirst is to simply forbid text size changes. An example of this approachis the Portable Document Format file format, or “PDF.” Such an approachlimits the usefulness of an electronic publication, by eliminating adesired feature. Producing multiple fixed-size documents to address userrequirements (for instance a large print version for the visuallyimpaired) is time-consuming, costly and creates problems for contentdistribution.

The other approach is to simply allow the user—the reader—full controlover the content. While this approach can work, especially in anenvironment where the content is limited to a single “page” that can bescrolled, it does not work very well in complex layouts as all areas ofa page may reflow.

BRIEF DESCRIPTION OF THE DRAWINGS

The present invention, together with further objects and advantages, maybest be understood by reference to the following description taken inconjunction with the accompanying drawings, in the several figures ofwhich like reference numerals identify like elements, and in which:

FIG. 1 is a flowchart depicting a method for selective control of zoomadjustments in an electronic publication according to one embodiment;

FIG. 2 is a flowchart depicting a method for selective control of zoomadjustments in an electronic publication according to one embodiment;

FIG. 3 is a block diagram of an electronic device according to oneembodiment of the present invention;

FIG. 4 is a flowchart depicting a method for rendering electroniccontent on an electronic device according to one embodiment;

FIG. 5 is an example of a rendering of content at a base text sizeaccording to one embodiment; and

FIG. 6 is an example of a rendering of the content of FIG. 5 in responseto a zoom instruction.

DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS

Several embodiments of the present invention and their advantages may beunderstood by referring to FIGS. 1-6, wherein like reference numeralsrefer to like elements.

According to one embodiment, the present invention provides electronicpublication authors, content creators and/or content editors with theability to select complex layouts for content while still providing theuser with the ability to customize his or her reading experience.Specifically, in one embodiment, the user is provided with the abilityto zoom generic content, e.g., the text of an electronic publication,with little or no restrictions imposed by the content creator/editor.Further, the content creator/editor may identify areas of content (e.g.,titles, headers, footers, etc.) for which zooming is not permittedand/or restricted. In one embodiment, the default zoom behavior may bealtered by changing the zoom increment for each zoom state. In oneembodiment, the content creator may be able to easily specify changes tothe allowed sizes for large (e.g., the entire document) and smallportions (e.g., one paragraph) of the content.

Cascading Style Sheets, or “CSS,” is a style sheet language that allowsauthors and users to attach style, such as fonts and spacing, tostructured documents. CSS allows the separation of the presentationstyle of documents from the content of documents. The Cascading StyleSheets Level 2 Revision 1 (CSS 2.1) Specification is hereby incorporatedby reference in its entirety.

According to one embodiment, a new CSS property, called“-shadowbox-zoom-deltas”, provides the content author and renderingsoftware rich control of text size across multiple zoom states. Likeother CSS properties, -shadowbox-zoom-deltas inherits to child elementsand participates in the cascade. In one embodiment, elements thatdescend from an element that has this property will have the same valuefor the property unless otherwise specified.

The syntax for this property is:

-   -   -shadowbox-zoom-deltas: [length|ems|exs]+

where length, ems and exs are as defined in the CSS specification.

In one embodiment, at least one value for length, ems, or exs must beprovided. The value specifies the increment to add to the text size forthe next zoom state. Thus, the first value specifies the amount to addor subtract to or from the base text size to get the value for thesecond zoom state. The second value is the amount to add or subtract toor from the second zoom state's total size to get the size of the thirdstate. Additional values and zoom states may be provided as necessaryand/or desired.

In one embodiment, the first value and/or the second value can havenegative values. The negative first value will cause the text size todecrease in the first zoom state. Similarly, a negative second valuewill cause the text size to decrease in the second state.

For example, for a publication with three distinct zoom states (e.g.,small, medium and large), and given these values:

-   -   -shadowbox-zoom-deltas: 2 pt 1 in;

if the original text had a font size of 12 points, the three zoom stateswould have the following values:

small: 12 pt

medium: 14 pt (12 pt+2 pt)

large: 86 pt (14 pt+1 in=14 pt+72 pt)

In the event that there are more zoom states than specified sizes, theremaining states use the last increment value. Given the same three zoomstates above, an element with this setting:

-   -   shadowbox-zoom-deltas: 2 pt;

Would have these sizes:

small: 12 pt

medium: 14 pt (12 pt+2 pt)

large: 16 pt (14 pt+2 pt)

In one embodiment, if there are more increments than zoom states, theremaining increments may be ignored.

The actual number of zoom states may be determined by, for example, thecontent creator, the user interface, the electronic reading device, etc.

In one embodiment, it may be desired to prevent an increment. To dothis, 0 (zero, with or without a unit) may be supplied. For example, inthe three zoom state case, to make the first and second states the same,but allow the third state to be 2 pt larger, the rule:

-   -   -shadowbox-zoom-deltas: 0 2 pt;

may be used.

In one embodiment, it may be desired to prevent zoom for a particularelement, for example, in a repeating heading, footer, etc. The followingmay be used:

-   -   -shadowbox-zoom-deltas: 0 pt;

In one embodiment, because this property may inherit to child elements,the default zooming behavior for the entire electronic document may bealtered with a single CSS rule.

For instance, to make all content zoom by 1 pt for every zoom state, thefollowing CSS can be provided:

-   -   body {-shadowbox-zoom-deltas: 1 pt;}

In one embodiment, like any CSS property, shadowbox-zoom-deltas can besupplied in a separate style sheet, in the head section of a sourcedocument or directly on an element via the style attribute.

A specific block of text can have its size increment specified for everyzoom state in a document. In addition, this increment can be applied toall remaining states. The increment can be any CSS value, including zeroor negative values. This gives precise size control over elements at anyzoom state.

Referring to FIG. 1, a method for selective control of zoom adjustmentsin an electronic publication according to one embodiment is disclosed.In step 110, content that is for display on an electronic display deviceis generated. Any sort of content may be provided. In one embodiment, anelectronic publication may be provided. In another embodiment, anelectronic book may be provided. In yet another embodiment, digitalphotographs may be provided. Any content that may be displayed for auser on an electronic display device may be used.

In one embodiment, the content may be provided from a third party, forexample, a newspaper or book publisher, on-line publisher, etc. Inanother embodiment, the content may be generated at the same time thatstyles are identified.

In step 115, the base text size is specified. In one embodiment, thecontent may have multiple text sizes, and a selected portion may havemultiple text sizes.

In step 120, at least one portion of the content that will have its zoomproperties defined is identified. This may be any amount of the content,ranging from a small portion (e.g., a page number, title, etc.) to theentire content.

In step 125, a first increment value is set. In one embodiment, thefirst increment value may range from a negative increment size to apositive increment size specifying a desired increment size. If anegative value is set, the size of the text will decrease. If the valueis set to zero, then the base text size will not be increased if theuser attempts to zoom on the portion. If a positive value is set, thesize of the text will increase. Other portions, however, that have afirst increment set, will be zoomed by that value.

Any increment value may be used. In one embodiment, however, the size ofthe increments may range between 2 and 4 points.

In step 130, a second increment value may be set. In one embodiment,this is the additional amount over the first increment value. The secondincrement value may range from a negative value to a positive valuespecifying desired increment size. If the value is set to zero, then thebase text size will not be increased beyond the first increment value ifthe user attempts a second zoom on the portion.

In one embodiment, if a second increment value is not set, then eachsuccessive zoom will increase the text size by the first incrementvalue.

In one embodiment, the content creator/editor may specify the incrementvalues for the content. In one embodiment, the content creator/editormay set a fixed number of zoom levels, ranging from one level (e.g., thebase text size) to any desired number of levels. Therefore, although twoincrement values are described, a greater or fewer number of incrementvalues may be used as necessary and/or desired.

Theoretically, there is no limit to the number of zoom states that maybe used. Practically, however, the number of zoom states may be set to,for example, 3, 5, 10, etc. as necessary and/or desired.

In step 135, the content and style may be stored. In one embodiment, thecontent and style may be saved separately (e.g., one file for thecontent, a second file for the style sheet). In another embodiment, thestyle may be included in the head section of the content document ordirectly on an element via the style attribute.

The calculation of a zoom-state specific layout may be performed by acontent layout engine. This may be run on a server at the time ofcontent layout compilation. In another embodiment, the calculation ofthe zoom-state specific layout may performed by the electronic readingdevice. Other methods and/or mechanisms for calculating the zoom-statespecific layout may be used as necessary and/or desired.

Referring to FIG. 2, a method for selective control of zoom adjustmentsin an electronic publication using one increment value according to oneembodiment is disclosed. In step 210, content that is for display on anelectronic display device is generated. Similar to step 110, any sort ofcontent may be provided.

In step 215, the base text size is specified. This is similar to step115.

In step 220, at least one portion of the content that will have its zoomproperties defined is identified. This is similar to step 120.

In step 225, an increment value is set. In one embodiment, the firstincrement value may range from a negative value to a positive valuespecifying a desired increment size. If a negative value is set, thesize of the text will decrease. If the value is set to zero, then thebase text size will not be increased if the user attempts to zoom on theportion. If a positive value is set, the size of the text will increase.Other portions, however, that have a first increment set, will be zoomedby that value.

Additional increment values may be specified as necessary and/ordesired.

In step 230, the content and style may be stored. This is similar tostep 135.

The rendering of the content is performed by software executing on anelectronic device. Suitable electronic devices include electronicreading devices, including electronic book readers, electronic newspaperreaders, electronic paper readers, etc. An example of an electronicdisplay device is disclosed in U.S. patent application Ser. No.12/481,677, entitled “Flexible Electronic Device And Method OfManufacture,” the disclosure of which is incorporated by reference inits entirety. Other examples of electronic reading devices include theAmazon Kindle, the Sony Reader, and the Plastic Logic Reader.

Other examples of electronic devices include computers (desktop,notebook, laptop, tablet, etc.), personal digital assistants (PDAs),music players, telephones, etc. Any electronic device that is capable ofrendering electronic content may be used as necessary and/or desired.

Referring to FIG. 3, a block diagram of an electronic device isprovided. In general, electronic device 300 may include microprocessor305, memory 310, software and applications 315, display and displaydriver 320, user interface 325, power supply 330, data interface 335,and audio 340. Other features may be provided as necessary and/ordesired.

Processor 305 provides the processing power for electronic device 300.Processor 305 may be any suitable processor or integrated circuit,including microprocessors, programmed microprocessors micro-controllers,peripheral integrated circuit elements, CSICs (Customer SpecificIntegrated Circuit) or ASICs (Application Specific Integrated Circuit),logic circuits, digital signal processors, programmable logic devicessuch as FPGAs, PLDs, PLAs or PALs, or any other device or arrangement ofdevices that is capable of performing the function of a microprocessor.

Memory 310 may be any suitable memory, and may be used to store softwareand applications 315. Memory 310 may be volatile or non-volatile asnecessary and/or desired. Memory 310 may include static RAM, dynamicRAM, flash memory, magnetic memory, etc.

In one embodiment, memory 310 may store data files, including electroniccontent files, style sheets, etc. In one embodiment, software andapplications 315 render an image on the display of electronic device300. In one embodiment, software and applications 315 responds to the“-shadowbox-zoom-deltas” property by allowing a user to zoom certainareas of an electronic document, while preventing the user from zoomingother areas of the electronic document.

Display and drivers 320 are provided for displaying characters,graphics, videos, pictures, etc. for the user. The display may be anysuitable display, including flexible displays, touch-sensitive displays,etc.

User interface 325 may be provided for the user to interact withelectronic device 300. Any suitable input mechanism may be provided. Inone embodiment, buttons may be provided. In another embodiment, atouch-sensitive screen may be provided. In still another embodiment, amicrophone may be provided to detect speech. In another embodiment, acamera may be provided. Other inputs may be provided as necessary and/ordesired, depending on application.

In one embodiment, the user may use user interface 325 to zoom on thecontent.

Electronic device 300 may be powered by power supply 330, such as abattery, AC power, DC power through an AC adapter, etc.

Electronic device 300 may also be provided with data interface 335. Inone embodiment, data interface may be any suitable wired or wirelesscommunication method, including cellular communications, a USBinterface, unshielded twisted pair interface, radio frequency (RF),infrared (IR), Bluetooth, near field communication, WiFi (e.g., anysuitable IEEE 802.11 protocol), etc.

In one embodiment, electronic device 300 may be provided with audiocapability 340.

Referring to FIG. 4, a flowchart depicting a method of renderingelectronic content on an electronic device is disclosed. As noted above,the electronic device may be any device that is capable of renderingelectronic content.

In step 410, the electronic device receives and stores contentrepresenting, for example, an electronic publication. In one embodiment,the content may be stored in computer memory of the electronic device.

In one embodiment, the content may include several styles, and eachstyle may be specific to a portion of the content. In one embodiment,each style may specify a base text size and a value to increment ordecrement the base text size, and one or more subsequent values. In oneembodiment, the style may include the “-shadowbox-zoom-deltas” propertyas described above.

In one embodiment, the base size may be selected such that the text sizemay be incremented or decremented.

In step 415, the content is rendered on the electronic device accordingto its at least one style.

In step 420, in response to a user entry indicating a zoom to the nextzoom state, the content is rendered according to the“-shadowbox-zoom-deltas” property. Thus, depending on the values set forthe “-shadowbox-zoom-deltas” property, the content may remain the samesize, or it may increase in size, or decrease in size.

In step 430, in response to a subsequent user entry indicating a zoom tothe next zoom state, the content is rendered according to the“-shadowbox-zoom-deltas” property. Thus, depending on the values set forthe “-shadowbox-zoom-deltas” property, the content may remain the samesize, or it may increase or decrease in size.

Referring to FIGS. 5 and 6, an example of the “-shadowbox-zoom-deltas”property use according to an embodiment is shown. In FIG. 5, content isrendered for the user with its base text size. In FIG. 6, in response toa user instruction to zoom by one level, the content is rendered so thatthe text size for the article increases according to“-shadowbox-zoom-deltas” property for each portion of the content. Inthis example, the “Front Page” header, which has its“-shadowbox-zoom-deltas” increment set to zero, does not zoom inresponse to the user request. The text of the article, however, doesincrease in size.

A system and method for selective control of zoom adjustments in anelectronic publication are disclosed. According to one embodiment, amethod for selective control of zoom adjustments in an electronicpublication may include (1) generating content for display on anelectronic reading device; (2) generating at least one style for thecontent; and (3) storing the content and the at least one style on acomputer readable medium. The step of generating at least one style forthe content may include identifying at least a portion of the contentfor which at least one zoom level will be specified; specifying a basetext size for the portion of the content; and specifying a first valueto increment the base text size to a first zoom state text size. Thestep of generating at least one style for the content may also includespecifying a second value to increment the first zoom state text size toa second zoom state text size.

According to another embodiment, a method for selective control of zoomadjustments in an electronic publication includes (1) generating contentfor display on an electronic reading device; and (2) generating at leastone style for the content. The step of generating at least one style forthe content may include identifying at least a portion of the contentfor which a plurality of zoom levels will be specified; specifying abase text size for the portion of the content; and specifying a value toincrement the base text size and subsequent text sizes at each zoomlevel.

According to another embodiment, a method for rendering an electronicdocument on an electronic device includes (1) storing contentrepresenting an electronic publication in a computer memory of theelectronic device, the content including at least one style for aportion of the content, the at least one style including a base textsize for the portion of the content and at least a first value toincrement the base text size to a first zoom state text size; (2)rendering the contents according to the at least one style; and (3)incrementing the base text size for the portion of the content by thefirst value in response to a user input to zoom. The method may alsoinclude (4) incrementing the first zoom state text size by a secondvalue to a second zoom state text size in response to a user input tozoom. The at least one style further includes the second value toincrement the first zoom state text size to the second zoom state textsize.

The system of the invention or portions of the system of the inventionmay be in the form of a “processing machine,” such as a general purposecomputer, for example. As used herein, the term “processing machine” isto be understood to include at least one processor that uses at leastone memory. The at least one memory stores a set of instructions. Theinstructions may be either permanently or temporarily stored in thememory or memories of the processing machine. The processor executes theinstructions that are stored in the memory or memories in order toprocess data. The set of instructions may include various instructionsthat perform a particular task or tasks, such as those tasks describedabove in the flowcharts. Such a set of instructions for performing aparticular task may be characterized as a program, software program, orsimply software.

As noted above, the processing machine executes the instructions thatare stored in the memory or memories to process data. This processing ofdata may be in response to commands by a user or users of the processingmachine, in response to previous processing, in response to a request byanother processing machine and/or any other input, for example.

The processing machine used to implement the invention may utilize asuitable operating system. Thus, embodiments of the invention mayinclude a processing machine running the Microsoft Windows™ Vista™operating system, the Microsoft Windows™ XP™ operating system, theMicrosoft Windows™ NT™ operating system, the Windows™ 2000 operatingsystem, the Unix operating system, the Linux operating system, the Xenixoperating system, the IBM AIX™ operating system, the Hewlett-Packard UX™operating system, the Novell Netware™ operating system, the SunMicrosystems Solaris™ operating system, the OS/2™ operating system, theBeOS™ operating system, the Macintosh operating system, the Apacheoperating system, an OpenStep™ operating system or another operatingsystem or platform.

As described above, a set of instructions may be used in the processingof the invention. The set of instructions may be in the form of aprogram or software. The software may be in the form of system softwareor application software, for example. The software might also be in theform of a collection of separate programs, a program module within alarger program, or a portion of a program module, for example. Thesoftware used might also include modular programming in the form ofobject oriented programming. The software tells the processing machinewhat to do with the data being processed.

Further, it is appreciated that the instructions or set of instructionsused in the implementation and operation of the invention may be in asuitable form such that the processing machine may read theinstructions. For example, the instructions that form a program may bein the form of a suitable programming language, which is converted tomachine language or object code to allow the processor or processors toread the instructions. That is, written lines of programming code orsource code, in a particular programming language, are converted tomachine language using a compiler, assembler or interpreter. The machinelanguage is binary coded machine instructions that are specific to aparticular type of processing machine, i.e., to a particular type ofcomputer, for example. The computer understands the machine language.

Any suitable programming language may be used in accordance with thevarious embodiments of the invention. Illustratively, the programminglanguage used may include assembly language, Ada, APL, Basic, C, C++,COBOL, dBase, Forth, Fortran, Java, Modula-2, Pascal, Prolog, REXX,Visual Basic, and/or JavaScript, for example. Further, it is notnecessary that a single type of instructions or single programminglanguage be utilized in conjunction with the operation of the system andmethod of the invention. Rather, any number of different programminglanguages may be utilized as is necessary and/or desirable.

Also, the instructions and/or data used in the practice of the inventionmay utilize any compression or encryption technique or algorithm, as maybe desired. An encryption module might be used to encrypt data. Further,files or other data may be decrypted using a suitable decryption module,for example.

In the system and method of the invention, a variety of “userinterfaces” may be utilized to allow a user to interface with theprocessing machine or machines that are used to implement the invention.As used herein, a user interface includes any hardware, software, orcombination of hardware and software used by the processing machine thatallows a user to interact with the processing machine. A user interfacemay be in the form of a dialogue screen for example. A user interfacemay also include any of a mouse, touch screen, light pen, keyboard,voice reader, voice recognizer, dialogue screen, menu box, list,checkbox, toggle switch, a pushbutton or any other device that allows auser to receive information regarding the operation of the processingmachine as it processes a set of instructions and/or provides theprocessing machine with information. Accordingly, the user interface isany device that provides communication between a user and a processingmachine. The information provided by the user to the processing machinethrough the user interface may be in the form of a command, a selectionof data, or some other input, for example.

It will be readily understood by those persons skilled in the art thatthe present invention is susceptible to broad utility and application.Many embodiments and adaptations of the present invention other thanthose herein described, as well as many variations, modifications andequivalent arrangements, will be apparent from or reasonably suggestedby the present invention and foregoing description thereof, withoutdeparting from the substance or scope of the invention.

In the preceding specification, various preferred embodiments have beendescribed with references to the accompanying drawings. It will,however, be evident that various modifications and changes may be madethereto, and additional embodiments may be implemented, withoutdeparting from the broader scope of invention as set forth in the claimsthat follow. The specification and drawings are accordingly to beregarded in an illustrative rather than restrictive sense.

We claim:
 1. A method for selective control of zoom adjustments in anelectronic publication, comprising: generating content for display on anelectronic reading device; generating at least one style for thecontent, using Cascading Style Sheets, comprising: identifying a firstportion of the content for which at least one zoom increment value willbe specified, wherein the first portion of the content is a paragraph;specifying a base text size for the first portion of the content;applying a Cascading Style Sheets “-shadow-box-zoom-deltas” property tospecify a first increment value for the first portion of the content toincrement the base text size for the first portion of the content to afirst zoom state text size for the first portion of the content, whereinthe first zoom state text size for the first portion of the content isequal to the base text size for the first portion of the content plusthe first increment value for the first portion of the content;identifying a second portion of the content for which-at least one zoomincrement value will be specified, wherein the second portion of thecontent is at least one of a different paragraph from the first portionof the content, a title, a page number, a header, and a footer;specifying a base text size for the second portion of the content;applying a Cascading Style Sheets “-shadow-box-zoom-deltas” property tospecify a first increment value for the second portion of the content toincrement the base text size for the second portion of the content to afirst zoom state text size for the second portion of the content,wherein the first zoom state text size for the second portion of thecontent is equal to the base text size for the second portion of thecontent plus the first increment value for the second portion of thecontent, wherein the first increment value for the second portion of thecontent is different from the first increment value for the firstportion of the content; and storing the content and the at least onestyle on a computer readable medium.
 2. The method of claim 1, whereinthe second “-shadow-box-zoom-deltas” first increment value for thesecond portion of the content is
 0. 3. The method of claim 1, whereinthe step of generating at least one style for the content, usingCascading Style Sheets further comprises: applying a Cascading StyleSheets “-shadow-box-zoom-deltas” property to specify a second incrementvalue for the first portion of the content, different from the firstincrement value for the first portion of the content, to increment thefirst zoom state text size for the first portion of the content to asecond zoom state text size for the first portion of the content,wherein the second zoom state text size for the first portion of thecontent is equal to the first zoom state text size for the first portionof the content plus the second increment value for the first portion ofthe content.
 4. The method of claim 3, wherein one of the first“-shadow-box-zoom-deltas” increment value for the first portion of thecontent and second “-shadow-box-zoom-deltas” increment value for thefirst portion of the content has a value of
 0. 5. The method of claim 1,wherein the at least one style inherits to a child element for anelement in the at least one portion.
 6. The method of claim 1, wherein,for a plurality of portions, each portion has a respective at least onestyle.
 7. The method of claim 1, wherein the content and the at leastone style are separate files.
 8. The method of claim 1, wherein the atleast one style is in a head section of the content.
 9. A method forrendering an electronic document on an electronic device comprising:storing content representing an electronic publication in a computermemory of the electronic device, the content including: at least onestyle comprising: for a first portion of the content, wherein the firstportion of the content is a paragraph, a base text size for the firstportion of the content and at least a Cascading Style Sheets“-shadow-box-zoom-deltas” property specifying a first increment valuefor the first portion of the content to increment the base text size forthe first portion of the content to a first zoom state text size for thefirst portion of the content, wherein the first zoom state text size forthe first portion of the content is equal to the base text size for thefirst portion of the content plus the first increment value for thefirst portion of the content; for a second portion of the content,wherein the second portion of the content is at least one of a differentparagraph from the first portion of the content, a title, a page number,a header, and a footer, a base text size for the second portion of thecontent and at least a Cascading Style Sheets “-shadow-box-zoom-deltas”property specifying a first increment value for the second portion ofthe content to increment the base text size for the second portion ofthe content, wherein the first zoom state text size for the secondportion of the content is equal to the base text size for the secondportion of the content plus the first increment value for the secondportion of the content, wherein the first increment value for the secondportion of the content is different from the first increment value forthe first portion of the content; rendering the contents according tothe at least one style; and incrementing the base text size for thefirst portion of the content by the first increment value for the firstportion of the content, wherein the first zoom state text size for thefirst portion of the content is equal to the base text size for thefirst portion of the content plus the first increment value for thefirst portion of the content and incrementing the base text size for thesecond portion of the content by the first increment value for thesecond portion of the content, wherein the first zoom state text sizefor the second portion of the content is equal to the base text size forthe second portion of the content plus the first increment value for thesecond portion of the content in response to a user input to zoom. 10.The method of claim 9, further comprising: incrementing the first zoomstate text size for the first portion of the content by a secondincrement value for the first portion of the content to a second zoomstate text size for the first portion of the content wherein the secondzoom state text size for the first portion of the content is equal tothe first zoom state text size for the first portion of the content plusthe second increment value for the first portion of the content, andincrementing the first zoom state text size for the second portion ofthe content by the first increment value for the second portion of thecontent to a second zoom state text size for the second portion of thecontent, wherein the second zoom state text size for the second portionof the content is equal to the first zoom state text size for the secondportion of the content plus the first increment value for the secondportion of the content in response to a second user input to zoom; andwherein the at least one style further includes the Cascading StyleSheets “-shadow-box-zoom-deltas” property specifying a second incrementvalue for the first portion of the content to increment the first zoomstate text size for the first portion of the content to the second zoomstate text size for the first portion of the content.
 11. The method ofclaim 9, wherein the first increment value is
 0. 12. The method of claim9, wherein the at least one style inherits to a child element for anelement in the at least one portion.
 13. The method of claim 9, whereinthe content and the at least one style are stored as separate files. 14.The method of claim 9, wherein the at least one style is in a headsection of the content.
 15. The method of claim 9, wherein the at leastone style is in a head section of the content.